package com.huey.utils.jdk;

/**
 * @author xubo
 * @date 2022/9/9 11:49
 */
public class Test {
    public static void main(String[] args) {
        UseProxy useProxy = new UseProxy();
        IUser user = (IUser) useProxy.myJDKProxy(new User());

        user.shopping();
        System.out.println(user.expenses());
    }
}
